import React, { Suspense, useEffect } from "react";
import { useRoutes } from "react-router-dom";
import WidthRouter from "./components/HOC/WidthRouter";
import RouterList from "./router";
import axios from "axios";

const App: React.FC = () => {
  const Element = useRoutes(RouterList);
  return <div>{Element}</div>;
};
export default WidthRouter(App);
